From f88f9a062de08df2eab431c1ba77a1b26ceb6ca6 Mon Sep 17 00:00:00 2001 From: Ole Streicher Date: Mon, 26 Dec 2016 17:33:56 +0000 Subject: [PATCH] fix_wrong_index_type Descrption: Fix index type in `reshape` to be integer. This will avoid FTBFS with numpy >= 1.12 beta Gbp-Pq: Name fix_wrong_index_type.patch --- statsmodels/genmod/generalized_estimating_equations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statsmodels/genmod/generalized_estimating_equations.py b/statsmodels/genmod/generalized_estimating_equations.py index df852f3..8e33ac8 100644 --- a/statsmodels/genmod/generalized_estimating_equations.py +++ b/statsmodels/genmod/generalized_estimating_equations.py @@ -2392,7 +2392,7 @@ class NominalGEEResults(GEEResults): exog_names = [x.split("[")[0] for x in exog_names] params = np.reshape(self.params, - (ncut, len(self.params) / ncut)) + (ncut, len(self.params) // ncut)) for ev in exog_values: -- 2.30.2